package com.whut.provider.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.whut.provider.dao.SensorMapper;
import com.whut.provider.entity.Sensor;
import com.whut.provider.service.ISensorService;
import org.apache.dubbo.config.annotation.DubboService;

import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author author
 * @since 2021-01-13
 */
@DubboService
public class SensorServiceImpl extends ServiceImpl<SensorMapper, Sensor> implements ISensorService {

    @Override
    public List<Sensor> selectAll(String sensorName) {
        return baseMapper.selectAll(sensorName);
    }
}
